Skip to content

Conversation

@dfahlander
Copy link

In Safari, the Uint8Array constructor behaves differently than in other browsers.

const a = new Uint8Array(buf, undefined, undefined);
// the result "a" will have zero length no matter buf.byteLength.

In Safari, the Uint8Array constructor behaves differently than in other browsers.
```js
const a = new Uint8Array(buf, undefined, undefined);
// the result "a" will have zero length no matter buf.byteLength.
```
@brettz9
Copy link
Owner

brettz9 commented Nov 6, 2018

Resolved by 5220c04 . Thanks a lot for the report!

@brettz9 brettz9 closed this Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants